<!--
 * @Description:
 * @version:
 * @Author: 潘骏杰
 * @Date: 2022-03-31 09:39:04
 * @LastEditors: 潘骏杰
 * @LastEditTime: 2022-03-31 09:44:02
-->
<template>
  <ul>
    <!-- 未登录 -->
    <!-- <li @click="gR('/login')">
      <img src="@/assets/images/icon/user.png" class="act" />
      <div class="lir">立即登录 <van-icon name="arrow" /></div>
    </li> -->
    <!-- 已登录 -->
    <li @click="gR('/person')">
      <img src="@/assets/images/icon/girl.png" class="act">
      <!-- 性别区分 -->
      <!-- <img src="@/assets/images/icon/boy.png" class="act" /> -->
      <div class="lir">xxx医生 <van-icon name="arrow" /></div>
    </li>
    <li class="route" @click="gR('/appointmentRecord')">
      <van-icon name="send-gift-o" size="0.68rem" /> 预约记录
    </li>
    <li class="route"><van-icon name="like-o" size="0.68rem" /> 随访记录</li>
    <li class="route"><van-icon name="upgrade" size="0.68rem" /> 签约记录</li>
    <li class="route">
      <van-icon name="send-gift-o" size="0.68rem" /> 建档记录
    </li>
    <van-divider />
    <li class="route"><van-icon name="qr" size="0.68rem" /> 团队二维码</li>
    <li class="route"><van-icon name="share-o" size="0.68rem" /> 推送</li>
    <li class="route">
      <van-icon name="down" size="0.68rem" /> 下载分享健康医家
    </li>
    <li class="route"><van-icon name="setting-o" size="0.68rem" /> 设置</li>
    <li class="route">
      <van-icon name="question-o" size="0.68rem" /> 意见反馈
    </li>
  </ul>
</template>
<script>
// 这里可以导入其他文件（比如：组件，工具js，第三方插件js，json文件，图片文件等等）
// 例如：import 《组件名称》 from '《组件路径》';
export default {
  name: 'LeftNav',
  // import引入的组件需要注入到对象中才能使用
  data() {
    return {
      personMsg: {}
    }
  },
  methods: {
    gR(path) {
      console.log(path)
      //   this.$router.push({path})
    }
  }
}
</script>
<style  scoped>
ul {
  padding: 20px 10px;
}
ul li {
  overflow: hidden;
}
.act {
  width: 40px;
  float: left;
}
.lir {
  font-size: 16px;
  line-height: 30px;
  margin-left: 60px;
}
.lir .van-icon.van-icon-arrow {
  float: right;
  margin-top: 7px;
}
.route {
  padding: 10px 0 0 10px;
  font-size: 14px;
  line-height: 25px;
  margin: 10px 0;
}
.route .van-icon {
  float: left;
  margin-right: 15px;
}
</style>
